<template>
  <div class="creation">
    <div class="photo">
        <img src="../photo/nuoBe.jpg" alt="">
    </div> 
    <div class="box">
      <div class="tools">
        <img src="../photo/创作工具.png" alt="">
        <p>创作工具</p>
      </div>
      <div class="boxa">
          <div class="under">
            <img src="../photo/了解.png" alt="">
            <p>去了解</p>
          </div>
          <div class="course">
            <img src="../photo/教程.png" alt="">
            <p>教程</p>
          </div>
          <div class="temp">
            <img src="../photo/模板.png" alt="">
            <p>模板</p>
          </div>
      </div>
    </div>

    <div class="box">
      <div class="tools">
        <img src="../photo/创作工具.png" alt="">
        <p>手机在线创作</p>
      </div>
      <div class="boxa">
          <div class="course">
            <p>开始创作</p>
          </div>
          <div class="temp">
            <p>作者站</p>
          </div>
          <div class="under">
            <p>旧版创作</p>
          </div>
      </div>
    </div>
    <div class="photo photobotm">
        <img src="../photo/tuShu.jpg" alt="">
    </div>
  <tabbar page="Creation"/>
  </div>
</template>

<script>
// npm i pubsub-js 下载并引入
import pubsub from "pubsub-js"
// npm i axios  全局安装axios 并引入
import axios from "axios"
import tabbar from "../components/tabbar.vue" 

export default {
    name:"Creation",
    data() {
        return {
            
        }
    },
     components:{
      tabbar
    },
    props:[],
    methods: {
        
    },
}
</script>

<style scoped>
*{
  margin: 0;
  padding: 0;
  background-color: #F1F1F1;
}
p{
  background-color: #fff;
}
img{
  background-color: #fff;
}
div{
  background-color: #fff;
  overflow: hidden;
}
.creation{
  width: 100%;
  height: 736px;
  /* border: 1px solid blue; */
  background-color: #F1F1F1;
  padding: 15px;
}
.photo{
  width: 93%;
  /* height: 170px; */
  border-radius: 20px;
  /* border: 1px solid red;  */
}
.photo>img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }
  .photobotm{
    margin-top: 15px;
  }
.box{
  width: 92%;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 10px;
  border-top-right-radius: 10px;
}
.tools{
  display: flex;
  height: 60px;
  align-items: center;
  margin-left: 10px;
}
.tools>img{
  width: 45px;
  height: 45px;
  margin-top: 7px;
}
.tools>p{
  font-size: 18px;
  /* border: 1px solid red; */
}
.boxa{
  width: 99%;
  display: flex;
  justify-content: space-between;
  padding: 0px 0 10px 0;
}
.under{
  width: 120px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(153, 51, 112);
  border-radius: 10px;
  margin-left: 5px;
  margin-top: 10px;
}
.under>img{
  width: 30px;
  height: 30px;
  background: rgb(153, 51, 112);
  
}
.under>p{
  font-size: 18px;
  color: aliceblue;
  margin-left: 12px;
  background: rgb(153, 51, 112);

}

.course{
  width: 120px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(44, 163, 165);
  border-radius: 10px;
  margin-left: 10px;
  margin-top: 10px;
}
.course>img{
  width: 30px;
  height: 30px;
  background: rgb(44, 163, 165);
}
.course>p{
  font-size: 18px;
  color: aliceblue;
  margin-left: 12px;
  background: rgb(44, 163, 165);

}

.temp{
  width: 120px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(28, 193, 105);
  border-radius: 10px;
  margin-left: 10px;
  margin-top: 10px;
}
.temp>img{
  width: 30px;
  height: 30px;
  background: rgb(28, 193, 105);
  
}
.temp>p{
  font-size: 18px;
  color: aliceblue;
  margin-left: 12px;
  background: rgb(28, 193, 105);

}
</style>